﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using domainEntity=NC.Infrastructure.Domain.Record.ApiRecord;

namespace NC.Service.ApiRecord
{
    public interface IApiRecordService:IService
    {
        domainEntity Get(int id);

        IQueryable<domainEntity> GetAll();

        IQueryable<domainEntity> Get(Expression<Func<domainEntity, bool>> filter);

        void Insert(domainEntity entity);

        void Update(domainEntity entity);

        void Delete(domainEntity entity);
    }
}
